<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page pageEncoding="UTF-8" %>
<%@ page session="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE HTML>
<html>
<head lang=zh-CN>
    <c:import url="/WEB-INF/views/head/inc.jsp">
        <c:param name="title" value="欢迎登录"/>
    </c:import>
</head>
<body>
<div style="width:800px;margin: 20px auto;">
    <form action="/login" method="post">
        <p style="color:red;">${error}</p>

        <p><label for="username-in">帐号</label><input id="username-in" name="username" required="true"></p>

        <p><label for="password-in">密码</label><input id="password-in" type="password" name="password" required="true"></p>

        <p><input type="submit" value="登录"></p>
    </form>
    <p><a href="register">注册</a></p>
</div>
</body>
</html>